export default [
  {
    path: 'dashboard',
    name: 'console-dashboard',
    component: () => import('@/pages/console/dashboard/Index.vue'),
    meta: { title: '仪表盘', role: ['admin', 'user'] }
  },
  {
    path: 'program',
    name: 'console-program',
    component: () => import('@/pages/console/program/Index.vue'),
    meta: { title: '授权应用', role: ['admin', 'user'] }
  },
  {
    path: 'authentication',
    name: 'console-authentication',
    component: () => import('@/pages/console/authentication/Index.vue'),
    meta: { title: '授权认证', role: ['admin', 'user'] }
  },
  {
    path: 'pay',
    name: 'console-pay',
    component: () => import('@/pages/console/pay/Index.vue'),
    meta: { title: '支付设置', role: ['admin'] }
  },
  {
    path: 'email',
    name: 'console-email',
    component: () => import('@/pages/console/email/Index.vue'),
    meta: { title: '邮件设置', role: ['admin'] }
  },
  {
    path: 'copyright',
    name: 'console-copyright',
    component: () => import('@/pages/console/copyright/Index.vue'),
    meta: { title: '版权设置', role: ['admin'] }
  },
  {
    path: 'myself',
    name: 'console-myself',
    component: () => import('@/pages/console/myself/Index.vue'),
    meta: { title: '个人设置', role: ['admin', 'user'] }
  },
  {
    path: 'order',
    name: 'console-order',
    component: () => import('@/pages/console/order/Index.vue'),
    meta: { title: '订单管理', role: ['admin', 'user'] }
  }
]
